package com.example.ms.chouxianggongchang;

public class Test {

    public static void main(String[] args) {
        for (int i = 0; i < 10000; i++) {
            int finalI = i;
            new Thread(() -> {
                System.out.println(finalI);
            }).start();
        }








//        IProductFactory huaweiFactory = new HuaweiFactory();
//        final IPhoneProduct phone = huaweiFactory.getPhone();
//        phone.start();
//        phone.shutdown();
//
//        final IRouterProduct router = huaweiFactory.getRouter();
//        router.start();
//        router.shutdown();

    }
}
